package com.zrrd.yt.cart.client;

import com.zrrd.yt.common.result.Result;
import com.zrrd.yt.model.cart.CartInfo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author HongyueYang
 */
@Component
public class CartFeignClientImpl implements CartFeignClient{
    @Override
    public Result addToCart(Long skuId, Integer skuNum) {
        System.out.println("添加购物车失败");
        System.out.println("skuId====>"+skuId);
        System.out.println("skuNum====>"+skuNum);
        return null;
    }

    @Override
    public List<CartInfo> getCartCheckedList(String userId) {
        return null;
    }

    @Override
    public Result loadCartData(String userId) {
        return null;
    }
}
